package com.example.bootrocketmq;

import java.io.Serializable;

/**
 * 订单实体类
 * @Date 2021/9/7
 **/
public class OrderMessage implements Serializable {

    private Integer id;

    private String orderName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    @Override
    public String toString() {
        return "OrderMessage{" +
                "id=" + id +
                ", orderName='" + orderName + '\'' +
                '}';
    }
}
